package com.ml.mall.bean.res.product;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Created by kyyang on 2021/5/22 15:30
 */
@Data
@ApiModel(value = "产品数")
public class SysProductQueryTreeRes {

    private Long id;

    @ApiModelProperty("sku 编号")
    private Long variantId;

    @ApiModelProperty("sku 名称")
    private String variantName;

    @ApiModelProperty("单价")
    private BigDecimal price;

    @ApiModelProperty("库存")
    private Long stock;

    private int state;

    @ApiModelProperty("单位")
    private String uom;

    private String picUrl;

    @ApiModelProperty("售价")
    private BigDecimal salesPrice;

    @ApiModelProperty("描述")
    private String skuDescribe;

    @JsonIgnore
    private int includTax;


}
